package staticmethod;

public class Test {
    public static void main(String[] args) {
        //目标：认识static修饰和不修饰的方法
        //1，类名.静态方法(推荐)
        Student.printhelloworld();
        //2,对象.静态方法(不推荐)
        Student s1 = new Student();
        s1.printhelloworld();

        //3,对象名.实例对象
        s1.setScore(61.0);
        s1.printpass();
    }
}
